package com.king.oa.service;

import java.util.List;

import com.king.oa.base.DaoSupport;
import com.king.oa.domain.Department;


public interface DepartmentService extends DaoSupport<Department> {


	/**
	 * 查询顶级部门列表
	 * @return
	 */
	List<Department> findTopList();

	/**
	 * 查询子部门列表
	 * @param parentId
	 * @return
	 */
	List<Department> findChildren(Long parentId);

}
